import MsEditor from './components/editor'
import MsDict from './components/dict'

if (typeof window !== 'undefined' && window.Vue) {
  window.Vue.use(install)
}

function install(Vue) {
  Vue.component(MsEditor.name, MsEditor)
  Vue.component(MsDict.name, MsDict)
}

export default {
  install,
  MsEditor,
  MsDict
}
